package org.apache.solr.search;

import org.apache.lucene.search.Query;
import org.apache.solr.common.params.SolrParams;
import org.apache.solr.common.util.NamedList;
import org.apache.solr.request.SolrQueryRequest;


public class DMPParserPlugin extends QParserPlugin {

	@Override
	public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req) {
		return new QParser(qstr, localParams, params, req) {
			
			@Override
			public Query parse() throws SyntaxError {
				String deviceIdMd5 = localParams.get("id");
				String typeName = localParams.get("typeName");
				return null;
			}
		};
	}

	@Override
	public void init(NamedList args) {
		super.init(args);
	}

	
	
}
